package com.code.wflow.constants;

/**
 * @author ggh
 * @date 2022/11/11
 * 任务状态
 */
public enum TaskStatusEnum {
    TODO((byte) 1, "待处理"),
    HANDLED((byte) 2, "已处理"),
    UNREAD((byte) 3, "未读"),
    READ((byte) 4, "已读");

    private Byte val;

    private String msg;

    TaskStatusEnum(Byte val, String msg) {
        this.val = val;
        this.msg = msg;
    }

    public Byte getVal() {
        return val;
    }

    public String getMsg() {
        return msg;
    }
}
